class Staff:
    def __init__(self, hours, hours_pay):
        self.hours = hours
        self.hours_pay = hours_pay

    def count(self):
        pass


class FullTimeStaff(Staff):
    def __init__(self, hours, hours_pay):
        super().__init__(hours, hours_pay)

    def count(self):
        return self.hours * self.hours_pay


class PartTimeStaff(Staff):
    def __init__(self, hours, hours_pay):
        super().__init__(hours, hours_pay)

    def count(self):
        return self.hours * self.hours_pay


if __name__ == '__main__':
    full_time_staff = FullTimeStaff(10,150)
    full_time_pay = full_time_staff.count()
    print(full_time_pay)

    part_time_staff = PartTimeStaff(10,120)
    part_time_pay = part_time_staff.count()
    print(part_time_pay)